[campsite-support] breadcrumbs
  • Hello,

    I read up on breadcrumbs in the manual, but this info appears to be
    outdated.

    The template I work with says {{ breadcrumb }} instead of having the
    html displayed in the manual. I can't find a template called
    breadcrumb either.

    So how/where is this adjusted?

    Cheers,

    Pippa
  • 4 Comments sorted by
  • Hello,

    I still haven't found the proper solution for the breadcrumb problem.

    Also, the site needs to be set up for three languages. People shall be
    able to choose which language they want to read an issue or just an
    article in.

    So far I translated all the topics into those three languages.

    Now I wonder how to proceed with the rest?

    Cheers,

    Pippa
  • Hi!

    We have for example "language menu", meaning flags on the right side
    of our site and there is coding in this way:

    {{ local }}





    ...(continue with other languages the same way)

    {{ set_language name="English" }}
    border="0">


    {{ set_language name="German" }}
    border="0">


    {{ /local }}

    Then the content area, where are the articles appearing, in our case
    we have for example file home-middle.tpl where we just call article
    lists. They will appear with the language that has been selected from
    the flags.

    For example we have like this (you probably won't need to change your
    article listings):

    {{ local }}
    {{ set_issue number="1" }}
    {{ unset_section }}
    {{ list_articles length="10" constraints="type is Article
    onsection is on onfrontpage is on" order="byPublishDate desc" }}
    onmouseover="this.style.backgroundColor='#DCF6D2'"
    style="cursor:pointer;cursor: hand;"
    onclick="document.location.href='{{ uri
    options="reset_subtitle_list" }}'"

    onmouseout="this.style.backgroundColor='#ffffff'">

    {{ $campsite->article->deck }}


    {{ $campsite->article->name }}


    {{ if $campsite->article->teaser_a != "" }}

    {{ $campsite->article->teaser_a }}


    {{ /if }}
    {{ if $campsite->article->teaser_b != "" }}

    width="8" height="5">{{ $campsite->article->teaser_a }}


    {{ /if }}

    {{ if $campsite->article->has_image(1) }}
    src="{{ uri options="image (1)" }}&ImageRatio=30" border="0">

    {{ /if }}

    {{ $campsite->article->intro-
    >first_paragraph }}




    {{ /list_articles }}
    {{ /local }}

    But I must emphasize that you do not need to change the article
    listing like we have, you just need to have an article listing and it
    shows what is the current language selected from the "flag menu".

    I hope this somehow helps you.

    We didn't get yet the site online because the old database import we
    made had wrong dates but as soon as the site is online, I start
    looking some nice template codes to "import" to our Campsite manual or
    wiki. Smile

    Sanna @ Gene

    On 20.8.2009, at 22.28, pippa wrote:

    > Hello,
    >
    > I still haven't found the proper solution for the breadcrumb problem.
    >
    > Also, the site needs to be set up for three languages. People shall be
    > able to choose which language they want to read an issue or just an
    > article in.
    >
    > So far I translated all the topics into those three languages.
    >
    > Now I wonder how to proceed with the rest?
    >
    > Cheers,
    >
    > Pippa
    >
  • Hello Sanna,

    Thursday, August 20, 2009, 10:15:11 PM, you wrote:

    GMD> We have for example "language menu", meaning flags on the right side
    GMD> of our site and there is coding in this way:

    I wasn't even yet that far along Wink))

    I'm still dealing with backend stuff. So after translating the topics,
    what else do I do in the backend to prepare that magazine to run with
    3 languages? Where do I put the translations of articles, how do I set
    this up? Do I have to do it just once or for every issue and how so?

    These kind of questions Wink))

    Cheers,

    Pippa
  • Hi Pippa!

    Ah, ok, on the admin side of the system... sorry, I understood
    differently.

    So, you have to check that you have the languages configured in
    Configure -> Languages

    Then you just go to an article list in which you want to translate an
    article and you click the translation icon (flags of Germany and USA).
    Each language also has an issue for that language (I have kept the
    same name than the original language has but you can name it). But
    this issue can be created if it doesn't exist yet just by following
    the the procedure that appears after clicking the article translation
    item in the article list.

    You just basicly fill everything that is asked. It is quite logical.

    Please continue with this info and if it comes anything else in your
    mind, keep posting here. Wink

    Sanna

    On 21.8.2009, at 1.10, pippa wrote:

    > Hello Sanna,
    >
    > Thursday, August 20, 2009, 10:15:11 PM, you wrote:
    >
    > GMD> We have for example "language menu", meaning flags on the right
    > side
    > GMD> of our site and there is coding in this way:
    >
    > I wasn't even yet that far along Wink))
    >
    > I'm still dealing with backend stuff. So after translating the topics,
    > what else do I do in the backend to prepare that magazine to run with
    > 3 languages? Where do I put the translations of articles, how do I set
    > this up? Do I have to do it just once or for every issue and how so?
    >
    > These kind of questions Wink))
    >
    > Cheers,
    >
    > Pippa
    >